<div class="tab-pane <?php if($type == 'popular') echo 'active';?>" id="<?php echo $type;?>">
<ul class="list-popular-content clearfix">
<?php
	foreach($products as $product)
	{
		/**
		* @var Product $product
		*/
	?>
		<li>
			<img style="max-width: 65px; min-height: 65px;" src="<?php echo Yii::app()->theme->baseUrl . '/img/product/' . $product->image;?>" alt="<?php echo $product->name?>" class="pull-left" />
			<h5><a href="/product/detail?id=<?php echo $product->id;?>" data-toggle="modal" title="<?php echo $product->name?>"><?php echo $product->name?></a></h5>
			<div><?php echo $product->teaser?></div>
			<span style="color: red; font-style: oblique;"><?php echo Yii::app()->numberFormatter->formatCurrency($product->price, "VND")?></span>
		</li>
	<?
	}
?>
</ul>
</div>